projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5dc48a2
)
Further include-file cleanup
author
Ken Brown
<kbrown@cornell.edu>
Wed, 21 Oct 2015 22:08:36 +0000
(18:08 -0400)
committer
Ken Brown
<kbrown@cornell.edu>
Wed, 21 Oct 2015 22:08:36 +0000
(18:08 -0400)
* src/sheap.c: Include stdlib.h.
* src/unexcw.c: Include string.h.
src/sheap.c
patch
|
blob
|
history
src/unexcw.c
patch
|
blob
|
history
diff --git
a/src/sheap.c
b/src/sheap.c
index 106b2790367c3d5600df29298b6dcfd843522190..df33353e69a53db7068f03acb0f49454b18a807d 100644
(file)
--- a/
src/sheap.c
+++ b/
src/sheap.c
@@
-20,10
+20,9
@@
along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#include <config.h>
#include <stdio.h>
-
#include "lisp.h"
-
#include <unistd.h>
+#include <stdlib.h> /* for exit */
#ifdef ENABLE_CHECKING
#define STATIC_HEAP_SIZE (28 * 1024 * 1024)
diff --git
a/src/unexcw.c
b/src/unexcw.c
index be8857878ebacadbbcc6389141751d4d638823fc..9583598a1cdb5d20268e2f2e17e14a9746d34b3d 100644
(file)
--- a/
src/unexcw.c
+++ b/
src/unexcw.c
@@
-21,7
+21,7
@@
along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#include <config.h>
#include "unexec.h"
#include "lisp.h"
-
+#include <string.h>
#include <stdio.h>
#include <fcntl.h>
#include <a.out.h>